(defun volume-up ()
  "Volume up"
  (interactive)
  (shell-command "amixer set Master 2+ > /dev/null"))
(defun volume-down ()
  "Volume down"
  (interactive)
  (shell-command "amixer set Master 2- > /dev/null"))
(defun mpc-next ()
  "Mpc next"
  (interactive)
  (shell-command "mpc next > /dev/null"))
(defun mpc-previous ()
  "Mpc previous"
  (interactive)
  (shell-command "mpc prev > /dev/null"))
(defun mpc-toggle ()
  "Mpc play/pause"
  (interactive)
  (shell-command "mpc toggle > /dev/null"))
(global-set-key (kbd "C-0") `volume-up)
(global-set-key (kbd "C-9") `volume-down)
;; (global-set-key (kbd "C-.") `mpc-next)
;; (global-set-key (kbd "C-,") `mpc-previous)
;(global-set-key (kbd "C-BS") `mpc-toggle)
